home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
pctj8404.arc
/
DELAY.ASM
< prev
next >
Wrap
Assembly Source File
|
1986-09-14
|
512b
|
18 lines
; ROUTINE TO DELAY SPECIFIED NUMBER OF MILLISECONDS
delay proc far
;
push cx ; save registers
;
delay1:
push cx ; save counter
mov cx,260 ; timing constant
delay2:
loop delay2 ; small loop
pop cx ; restore counter
loop delay1 ; loop to count milliseconds
;
pop cx ; restore registers
ret
;
delay endp